package com.xiangge.zuoye2;

public class Demo6 {
    public static void main(String[] args) {
        int[] arr = {58,17,95,66,173,996,51,200};
        int sum = 0;

        for (int i : arr) {
            int shi = i%100/10;
            int ge = i%10;
            if (i%2==0&&shi!=7&&ge!=7){
//                System.out.println("i = " + i);
                sum+=i;
            }

        }
        System.out.println("sum = " + sum);

    }
}
